Service Bindings
#Edge
Cloudflare WorkersのWorker間通信のAPI
https://developers.cloudflare.com/workers/platform/bindings/about-service-bindings/
https://blog.cloudflare.com/service-bindings-ga/
Service bindings allow you to:
- Segment multiple use cases into separate Workers Services that can be explicitly invoked from your code.
- Achieve better composability on the Workers platform using service-oriented architecture.
- Create private microservices, to be conditionally invoked from other edge-facing services.
インターネットを介さずに別のWorkerにHTTPリクエストを送ることができる
プライベートなサービス同士の通信を容易にしてくれる
これにより
サービス指向アーキテクチャを使用して、Workersプラットフォーム上でより良いコンポーザビリティを達成できる
プライベートなマイクロサービスを作成し、他のサービスから条件付きで呼び出すことができる
Service Bindingsとは
エッジ上でネットワークを作ってセルフホスティングできる上、Cloudflare D1で永続化もできる
AWSやGCPなどを凌ぐ次世代クラウドアーキテクチャの根幹っぽい
わかってないこと
DX(Developer Experience)的な観点でのフレームワークの例
エッジ周りで注目のRemixは現在どんな感じだろう